Changed the directory hierarchy

Making this encoder/decoder as a stand alone library