Keep application class at TravisApplication and move it to separate file

It helps when application class needs to be reopened before creating
application