Changed database camelcase to underscore.
Implemented functionality that keeps underscored variable names on database.
Changed all server variables to camelcases where possible.