change folders to separate lib and tests
add makefile