refactor web related class to separate package

refactor web related class to separate package