Made classes buildable with makefile