Use server time and export stuff properly

Also, let's see if this new plugin boilerplate works.