add check for db connection

- add cache for db connection
- remove cache info file..
update base template
add some statistics to main page
add player stats to main page
add some stats

- other changes...
add online players and blocks

- change main style
- add material class
add function for calculating timestamps
add total items
change player converter a bit