adding More Then one Directory Core Structure, and restructured Core Logic