Moved dependencies to lib directory