Automated procedure for contact problems with and without frictional effects utilizing the boundary integral method