Feature/repository

I've found it a bit annoying and repetitive to write CRUD functions when creating a new model, so here is this class that is meant to alleviate a bit of the pain.

It defines methods to add, update, delete and select rows in a given table as soon as the model is instantiated.