Create project class and move rule and task definition to plugin
Remove unnecessary import