Channel class

created channel class
moved user loading and related variables to channel class
refactored accordingly
created usertypes file to prevent circular dependencies
planned out writer class