grepDB updated and main menu set to use case statement

switched grepDB to use perl regex and set main menu to case statement.