Merge pull request #1 from BeneDicere/master

small extensions and one api change. (introduced "factory" endpoint)
port magic
yo
factory word removed
running environement adjustements
deleting problems fixed
ugly sample implementation of different auth types, type defined using a config file and corresponding import. auth only required for POST and DELETE.