Initial framework

Initial framework for GEM. Interactive shell portion working.