Add source code and some basic documentation.