A homemade version of rails(lite)!