updated kmap pointer
added cycling checking to api
added -add resource location- button and logic