some changes.
fixed some bugs
simple result
It compiles!!
makefile back to gcc-4.7
Moved some things around
Some cleanup