Moving myglob to files
Use database from $server and dbtable from $database
Fix table route usage
myglob is now in files