refactoring master VC. added Toast library.