Refactored the new entity classes into n-tier stlye

Except for expense entity
Refactored Expense entity to n-tier

Also added extension class in framework
Updated the data viewer to refresh the data on refocus
Cleaned up and commented

The code in the BusniessLogic project