Updated Structure of WebService Main