added applications model
added applications controller and routes