Initial version of complete Invert Loop refactoring

See #66.