First version of library

version 1.0
Almost no tests made, but it works :P