Moving Code Into Components - SmartUp