main framework and run on the vps