Compiles. Scalability changes. makefile fixed.