fix database yml stuff
fixed rakefile