Implemented shared resource list and lock init