added basic version of the library