Add comments and helpful hints.
Organized files and removed unused functions.