added files and wrote has_one spec