a pass at factoring library out of command

Gave a shot at factoring the library out of the command so you can create exterminate servers from other applications.

Thoughts?