Check out this technical reference to understand in detail how the SAMS server works and can be developed further.
sams.factory
sams.auth
sams.sets
sams.storage
sams.storage.destinations
sams.storage.providers
sams.storage.providers.base
sams.storage.providers.mongo
sams.storage.providers.amazon
sams.assets
sams.utils
SAMS server & client reference v0.3.2