add gitignore
remove unused code
remove obsolete variables
add combined encoders