refactor packages and rename protocol class for trade process, comments