Initial commit of useful dev functions, a work in progress