made things into libs
made header files hpp where c++