Fixed some errors
Started working on docs