Controller implementation

Probably going to switch it to interfaces later, right now i just want
to get something basic up and running, with model and database support