Improving creating beam files and also src files for zoo