revamp of https://github.com/adrisede/GOtrackWeb