removing velocity and adding publication interface