Fixing bug with the register callback decorator, adding a set type.
List & Set.
Refactoring some methods and working on enhancing the foreign command
interface.