more grunt changes
adapting to use the gbmax_API
more CORS stuff