Add configuration activity
Create main code