add metastruct, refactor directories