refactor the repeat command
start breaking out objects to their own file, fixed a regex bug (that one hurt like hell)