Database library
1. Initial database functionality
2. Run a simple SQL select query
3. Getting rezults

+ demo controller renamed

DROP TABLE IF EXISTS `articles`;
CREATE TABLE IF NOT EXISTS `articles` (
  `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  `user` int(11) unsigned NOT NULL DEFAULT '0',
  `title` varchar(50) DEFAULT NULL,
  `content` text,
  `creation` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `display` tinyint(1) unsigned NOT NULL DEFAULT '1',
  PRIMARY KEY (`id`),
  KEY `user` (`user`,`display`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8;

INSERT INTO `articles` (
	`id`, `user`, `title`, `content`, `creation`, `display`
) VALUES
(1, 1, 'test', 'test test', '2012-10-11 23:52:19', 1),
(2, 1, 'test', 'test test', '2012-10-11 23:52:19', 1),
(3, 1, 'test', 'test test', '2012-10-11 23:52:19', 1),
(4, 1, 'test', 'test test', '2012-10-11 23:52:19', 1),
(5, 1, 'test', 'test test', '2012-10-11 23:52:19', 1);