add validate function and do some renames of API
print coverage on make