starting to refactor control systems into encapsulated components