[WIP] Extracting meta data

Depends on #4