build custom register.php and sync.php
modify activity add init.sql to initialize the db, and restful txt for testing