Migrating Legacy System to the Web: a Business Process Reengineering Oriented Approach