added jsdocs
added docs
added git ignore