Code factorization
Cancelling a previous commit

Restored VERSION constant
Added utility script for generating the API reference