Implemented resources, added getUsers(), some tests in MainMap