The statewide vote on medical marijuana is still three months away, but lawmakers are already working on ways to regulate the drug if it becomes legalized.