Implemented fully goatscale DB