application factory function added. exceptions module and config module added
profiles api tested and implemented