move to APIDB class that handles DB before API
adding submodules to make it running
adding submodule
first impl, to be checked. 100% on test