Reorganized core files and added additional processing capabilities.