added test function, TODO accept sys.argv and call from cli
added ignore files dir
added parameter for user_added_ignores
added main test to test def, changed some variables