Functions files

functions files for custom work in tool box and the main functions file
with a couple of features