On synthesizing a replicating metabolic system by membrane systems