Added routes for configuration/entities. Changed models
Added error handler, fixed small errors
Added entites page