move dependencies to data, make []Command as Commands, change replicaId's type to uint8, make everything in data packge exportable