Recreating a basic Rails framework