removed localstorageModel .... added config
fixed config parsing