added config for LocalDb and example reworked