add readme, sleep function, and small tweaks