removed old file
added initial powermanagement, refactored code (pep8 compliance)
refactored code, encapsulate in class