remove unneeded options
remove more unneeded options and add getters for metadata and errors
return all data in the same array format
psr fixes
inline docs