Page manager is singleton now
Sql fixes, loading news and calendar everytimes, updated database
Reformat code