fixed gitignore, added logging and argparse