Migrated the library to API v2

`Appp`