adding Application locks, Application Holder and persisting in Autoscaler