adding pkg deps & cli arg parsing