add instructions for maven repo
return a clone instead of the actual stored object to prevent accidental modification
add null check