pep8, slots refactoring, also added locks to enabling/disabling services, #91