Started euler refactoring, makefiles