Removed /api/lighthouse from path, updated API doc.
Added basic apiDoc generation and eslinted some code.