my lite implementation of rails!