Added model & resource layer