Refactored explode() to use getline
Added documentation to some methods and fixed some identations
Fixed top comments of files