Derived categories and K-groups of singular varieties