added /api/modules route to retrieve a list ofloaded modules