Huge overhaul

Added command line input
Added ability to interpret multiple lines in one run