Rename source files to reflect what they do
Implement encoder