appserver: working skeleton