Massive changes :)

Implemented X9.37 checking!! (Rudamentary libary included).

Overhalled config/logs and put them in a 'page' class.