added slim and updated controller
added view