Made some structure changes and added a makefile that I don't know if works yet.