added API doc started #6 and some files