A General Approach To The Direct Detection Of Dark Matter