Refactoring

Major refactor to load the app using steal. Also split frog_login object
into multiple files.