Implemented a very basic model loader

modelloader: implemented a first basic version which only loads
positions
common.h: removed many typedefs again because cpplint.py did not like
them
changed most of the pointers to smart pointers