Started work on breeding

This is going to get ugly pretty quickly.
Also fixed some minor issues that occured