moving require dependencies to config file
adding utilities file
moving promise method to utils
formatting updates