Split functionality into different files
Buffers and users / user lists now have their own files.