fix warning about Plack::App::File on Plack(>= 1.0017)

https://github.com/tokuhirom/Amon/pull/58
refactor to DB classes