Brendons server code. contains some database work, ui, and filechoosing (multiple files now supported)