add base api controller and self URL links
added users controller and model, improved mock db initialization