Moved config and route to app directory
Added session class