separate src and lib