updated files for version 0.5.0

also added some comments for future work in encoder source file