Change API to Library
Merge pull request #13 from yemel/fix/api2lib

Change API to Library