make the script object oriented
move new entry into it's own file