An analytical study for the development of advanced software reengineering techniques for legacy system migration to service oriented architecture