A simple PHP Framework for creating single page apps including a restful service