removed refactor directory layer