add parameters to Relations object
covert date from epoch on sensor data
Refactor session http and oauth