Restructured packages and wrote main-method to referentially compress sequences.