refine static dir, move the ui to static-dir to avoid access py source file as static file