Update composer
change config to return an array instead of defining consts.
add composer autoloader replacing custom one.
comments update.
Improve model by unit tests.