Fixed package dependencies and added example