put all files into flask project framework, need to create a title view which is linked to the dictionary.