added ability to override defines in server via query params, added new handler for getting deps