First working version, with pdf manual