initial v2 commit from scratch. implemented StdModel, TimelineModel; added config files template.php, db.php;