Refactory docker to use promise and add run command.
Initial code for app and minor changes.