Use environemnt settings to find EPICS
Use encode_json and switch to more modular style of doing EPICs stuff. JSON output includes timestamps (local unix time *1000) now