Moved library to lib and started jsdoc