changed index to load lib and css from common folder