Added Readme and some error handling