Move Application.hpp to model