added documentation about defining interfaces, this is an answer to question #45