Added some procedures

the library now works, and fetchs data