adding drag and drop support, resolves #1