refactoring on rtmaps_resources for youth challenge.