Adding more code to move physical systems, organizing code