added check style plugin. Many code refactored at used this plugin