implemented basic functions, fixed package.json file
added makefile for tests