added stable/unstable tag to DEB package names
generic code promoted to core level