Version upgrade

restructure database adapters
first tests will fail, will update postgres adapter soon