updating stage.py to support 5Server/6Server
adding code to create dir if it not exists so that the client may access
repo data in it