Moved installation procedure to the main plugin class, removed other unnecessary code