Implemented all the codez

also included NEI integration.