stub
first version of the db schema
declare encoding
a bit of typecasting and og when worker starts