Added library file
Added cocumentation to readme