Added some domain classes and security plugin