Folder structure, more typed typescript