Create mod boilerplate & crunch various lib functions in.