update hook names and other plugin references.
Update function names and calls for Addon class.
Create Addon and Theme classes and functions from plugin.php to appropriate class.