Refine message classes and add certificate model
Write django module (middleware and db model)
module name = securest