attach_metadata
merge conflcit
merged
fixed type bug and changed column names
Type finds or creates book by use of attach_metadata method