Reorganise directory structure so it is easier to build packages

Also, add README.rst, which is only useful to me.