Added regions to all classes

formatted all classes to be organized and more readable. regions group
code sections.