Create databasemode enum for server side
Merge pull request #12 from bjacklyn/databaseModeEnum

Create databasemode enum for server side