Initial changes for API logging.
Change some domain classes code property generation method.
Add security role initialization in the CoreBootStrap.