Rewritten model of all classes (not finished yet). Power, config and error are done. config class is now always up to date.