database library rewritten to use pdo
fix for enabling the exception handler. exception handler still not done, works good on cli apps right now. also still needs logging.