DataPool updated

Used a minimal buffer for DataPool in order not to blow the memory.
Slave updated

Slave updated to use a state-machine-like behavior over the messages.
SqlLiteStorage updated

SqlLiteStorage updated to handle custom types.