Fixed project settings for plugin and added plugin load time code base

- Fixed principal class name
- Fixed deployment related settings