Moved code into a /src directory, and updated README.