Started documenting the code