create common for comet and push, move dao and proto to it