app: implement image handling and core map functions.