Implements first model and working db