Worked a bunch on the application class.