Global public subroutine / Dynamic plugin start

- Added global public subroutine. This sub will be called when a message
is received from the socket.
- Started working on the dynamic loading of modules.