#19: move a lot of setup methods to loading from app delegate