Removed lazy declarations and re-arranged JavaAction in order to minimise initialisation logic, thus reducing the amount of introspection occurring. In addition handlers are now cached by the router in order to avoid instantiation costs.
Removed unnecessary locks which were also causing contention.
Formatting