move newer check to influx package
move functions map to check package
get rid of function package
wip