Towards quantum-chemical method development for arbitrary basis functions