Support importing code snippets

Allowing to keep code in separate files, which can be cleaner in a
quite a few scenarios