root: remove bottle code

Fixes #535.