implemented working deployment on a single node. Close #3