added basic func for geckoboard and postgres
added some basic functionality