Implement some of the basic functionality from Rails from scratch.