Add getFact function
Tons of additions. Works at getting classes