move code to lib
fix field name
rename field again, add "dev" method

..that gives the same single number results as stat
add todo note