separate css, html, and endpoint for ios interface