Rearrange main(), getTime(), made audio able to handle proceduralness