Modify project from console application to library