Documentation and Comments

- Updated documentation webpage
- Added/edited comments and removed some unnecessary code in main.c