move appmemk creation functions to the am_type.  Remove am_k_*.c files, redundant.