Added action capability, added error handling for erroneous controllers/actions