project structure fixes
Updated the swift
Declared appearance constants as externs to expose them to Swift