Started DB implementation

I started DB implementation, created init.php to initialise the
subsystems, and retrieve.php to retrieve Sections infos.