Moved all controller declarations into single file

added chatController