initial commit with working version, updated readme