added three validating functions for the options
undefined typeof boolean in options validates fix, start trying to fix route
added regexp routing, tested menu