clean up unused libraries in the head
refactoring color configuration for mobile to common