Resolves #74: We now have up/down arrows in DataTables. Resolves #100 - fixed the SQL injection problem on all current queries with the addition of query_params. We also now only connect to the DB once per request rather than per query.