TryParse function; console app enchancements