Organize the code on github

Organize the code for the three applications on github. Update the
design.js file so that it is the only one used among the three
applications.