An intelligent modeling system for Kohana