Cleanup. Added copyright notice. Fixing '_bands' layer factory.