references need some cleanup and some wikifying is needed but this is officially of high enough quality for mainspace phightins