Testing routes with regular expression
changedd $mysqli to $db and __contruct to connect
Added a matching function equal_check
formatting comments
removed a line
testing the $data variable
testing routes with reg_exp
dumping the matches
creating another test file
removing close_app() since there's no need for it
added a close() function for mysqli
removed close_app()
changing a few variables and call instaceof

This should be a better check also changed require to require_once
changed require to require_once

This change was needed because multiple views could be loaded at the
same time