Fixing build, adding docs