Separate the klash module into multiple files