Minor bugfixing and adding a readme