Define container settings, refactor tests, finished first version of pdf generator