Refactor Automation and its unit tests to independent projects.