Coding Standard and loading mechanism changed

Updated to match the WordPress coding standard
Changed the method loading the classes