now config files can be json too.
focus plugin working.
minor fixs