Controller file changed

This is server file with 2 new APis exposed - registration and heart
beat
This file might be deprecated

We will use DB utility file