Working!

Rewrote entrypoint to be much cleaner.
Fixed some tests.
Fixed some issues with Docker and Gerrit.