feat: accept view config file and options