Actions are user defined functions and are stored in JavaScript files in a directory called _ACTIONS
under the database directory. System action are predefined actions used by the server. They are stored in system wide directory.
internal.defineAction(name, callback, parameter)