Integrated web and xml files into controller

Migrating controller based operations out of GUI class