New db structure and behindsystem working

Got things done