Deserialization algorithm implementation started

Started to implement Deserialization algorithm:
- Deserializing context added
- Some general features of algorithm are implemented