Added bit compactor and preliminary (but buggy) JISTIC integration. 
More refactoring.