update database configuration and gemfile to use postgresql
add migration for users and messages
add models for users and messages
update models with associations
update schema with associations
remove public/index.html
add homepage view
move index into pages dir