changed all header files to .hpp, made necessary changes to make sure everything still compiles and runs