todo added
compile error fixed
refactor code, model save folder mkdir
output txt directory creation
memory output change