An architectural approach to modeling artificial general intelligence | Synapse