extract code, text as list

only question, answer object need these methods.
this resolves #21