Biologically Inspired Software Architecture for Deep Learning