DEV: added mask for atlas creation
REF: removed unused file
REF: removed unused function
REF: changed debug=0