moved database.yml to samples folder to make room for symlinked configs
moved the actual database.yml out of the repository. the repository now only contains sample file to copy or symlink
the app is now fully compatible with the postgresql adapter.
added actual foreign keys to the tables.