build the base of the application