added redis and real db stuff
added some deploy stuff