Gunship is now a library

Previously, Gunship defined a main() function and produced and
executable when built. Now it does not define main() and produces a
library which can be used by other projects.