To implement either would be a major, major rewrite. SMF (and thus Wedge) is already tentatively MVC structured, but it could easily be more thoroughly concrete in that direction (only earlier today, there was a discussion about an idea that might have gone into SMF 3 that I am interested in pursuing that would help in that direction)
SMF's DB layering is primitive, it's designed to basically fudge MySQL queries into PostgreSQL and SQLite, well we removed most of that, but in order for us to viably use a real abstraction layer, the schema needs to be overhauled first, and need to get rid of so many FIND_IN_SET calls for matching :o (Yes, the list of secondary groups a user is in is stored as a comma separated list in the members table directly, just for an off-the-top-of-my-head example)