Extract library, use gorilla HTTP. Closes #64. Closes #66