Fixed uptime issue
Added statistics module and new table in database (textdb is not ready yet)