changed spec and src files to directory