added a readme
refactored compile() output, added basic tests in script, modified readme