Added source files, in roughly the final shape