a tiny tomcat from scratch