tmp: add memory handling-related files