added redis, hiredis module dependencies for database, revised code to work locally w/o calling online scripts, organized data, cleaned up serial port communications