Documented the code. Final commit for v0.1