Preparation for some stuff, added IC2 compat, Fixed main class