Created basic version as created by web2py