main function should just init shogun, call something, and then exit. Rest should be in helper methods