Encoder Code
Added encoder folder