Minimalist reconstruction of Rails framework