Smart H-Bridge

I am only providing the schematics of this one as it is still being tested. Generally it works, but there is more to do before I release it.