add config function
barebones config and setup complete