Moved array and object's major functionality under directories named core.