updated core
added database.yml
remove some mongodb dependencies