Ready for API documentation

Added comments