Converted to class library

Created a class library for general use instead of keeping everything in
the linqpad script.  Also refactored the UserInfo object a bit.