added epoch charting, not working yet, will do in future. also separated out socket/arduino code in different module for organization