Created an enum class which some basic enums taken from server.js