adding package json and dependencies