Started fading interface
Inserted fading algorithm with debug code