changed database driver and configs; added resourcesful routing