Simple view and database wrappers for Slim framework