WIP - refacto : ABmetricsJS in a different project

with some demos