created map class, added lib