Added implementation of output struct and variables
Merge pull request #29 from tassiahmed/working

Added implementation of output struct and variables