To lib from app

Fixed namespace to Sheet and added unit test and changed sheet to a lib
rather than a console app