big refactoring and code cleanup
add/remove Fitbit device functions added