fixes #13: added interfaces for Storage and Plugin class