important fixes + docs, initial version