Implement simple db system that is accessible from view
For example see home.php
home.php
Please review, cc @all