add constructor, makefile, simple tests (failing 1)