Get main flow to one slot

Fixing https://github.com/wso2/private-paas/issues/22