created database class, altered way router creates routes
Merge branch 'master' of github.com:kaerosaya/Stake