Basic framework for simulator. Crude Makefile.

I'll fix it when I get up, okay? :p