Added doc + comments in code

Added help file and improved code commenting