migrate to minilla
code cleanup
depend on Woothee for detecting ua