Cleaned up variable declarations as well as dealt with & before parsing out arguments from the original input string