Initial injection support, lots directly copy/pasted from LiteLoader
Fixing code style from LiteLoader, fix checkstyle, complete javadoc