Code Maintenance: Move power bar to class. General cleanup

- also make speed dependant of powerbar