refactored app states and ui-views. Added some basic messaging with static data services