executable main function; removing test files