database setup

also setup local and remote database configurations. Remember to setup
htaccess.