Added run functionality
Added string input
Bug fixes, and better error checking