Maid 321 naming conventions

Camel case conversion completed for db model schema. Also a utility function is added for supporting the older format of logs.