RST-DT feature extraction scripts

Trying to modernise the code a bit with decorators to reduce
boilerplate