Defined a modular core to begin working from.

Write plugins to make it do stuff, change the base class to maintain global state, etc., etc.