Added documentation, fixed lint errors