factor entity db operations out into service
move chat function to its own namespace
moved db selection past valid connection
cleanup db connections in server
created a basic authenticated admin monitoring page for the server
Merge branch 'master' into refactor
Merge pull request #1 from ironbane/refactor

Refactor