Load custom configuration in client

This is a work in progress PR