Moved the github code to an own module and improved the DB structure for packages.

Packages on the front page are now also sorted by date.
Dates are now formatted in a nicer way and the time of day is dropped.