Describir: Programming Framework for Methods based on Brain Function Principles