MainActitvity with ResourceManager