Fixed syntax and path errors preventing imports.
Added first stab at real documentation.