Refactor plugin.
Add home Classes.

Not fully implemented