Re-create basic functionality of Rails.