styling and database

fixed #content issue
added preliminary database stuff