moved code to src, added test, improved readme