Modularized some things, started on Automation.
Added a bunch of files.