Final Touches

-- added comments throughout the code
-- reformatted the home page
-- created a documentation file