basic view and lib setup