Break out setup-rails.sh into lib/setup/.
termcode.sh => lib/.
functions.sh => lib/.
sources.list.d/ => lib/.
database.yml => lib/blog/config/.