split timing code off, added a namespace, other

implemented Timer constructor
implemented existing timer detection
repaired some css, work still needs to be done