Clean up version logic
Factor out command line generation
Factor out reference handling
Pass inputs to Genome::Sys->shellcmd
More stylistic changes
Initial test