initial commit: add sql and model classes. add some test controller / router.