Documentation I

Starting to really write documentation using JSDoc. Coming together now.