Changed API to have more atomar endpoints.
Added first tests.
Version upgrade already possible.