Added map resouses and class