Modularized leapcast. Some logging temporarily disabled