Add pthread flag to makefile
Flesh out objloader
Load object from file