Reformat source file structure, implement Tags resource.