Main app implemented