Reworked database wrapper

Reworked database wrapper to serialize and deserialize  lesson plan year
as whole object. Introduced code breaking changes. Basic testing shows
that the database wrapper was able successfully serializing and
deserialzing the object. The lesson plan control has full control of the
data. TODO: check for an update instead of creating a new entry for
every serialization (object return will be the latest/last entry).