redone file structure, added worker and  base  physics integration