More refactor for better parametrization, and command order, added commit action, and cleaned up the docker files a bit.