Refactored Synapse set up
Refactoring synapse referencing