Create MainApp Config

Create mainApp config with stateprovider and ui-router