Tidied structure of application.