added example about function router pattern
changed filename
improved server type selection