changed makefile
split helper into header and code
updated basic test
added folders
fixed seg fault
removed hpp files