class cleanup, adding power setting, additional documentation