building a cam server simulation