Manufacturing of graphene based synaptic devices for optoelectronic applications