Reorganized the files into packages, similar to the minecraft code.