databse

database and templating implemented on MY_Controller