fixes to game mechanics and started shop view, also added new model to db