added dependencies and package code