little fix in getTitles
files renamed; files created; simplified some functions; etc.