Fixed a lot of things, all but database compiles, added makefile
Changed default compiler to g++, added .gitignore