added Home and Profile structure and mocha testing