expanded basic funcations.  Added better database support used python for parsing, added routing