#10: code beautifier support added for device tabs  (in progress)
#10: code beautifier support added for device tabs , code refactoring