Comments added. (test and logic in index and js left
v0.8.1