updated to use postgresql
stuff
Finish layout and routed