Cleaned up code and tests
Added --path as a possible option for the migrator