added initial package.json and files
sorted out testing and makefiles and stuff