fixed file structure and rel linking within files