Main bulk of mission handler is complete.

Just testing required now and expansion of two functions - the handler,
and the generator. Easy to finish, and should look nice.