oracle db support and bug fixes

Signed-off-by: Spyros <morfeas3000@gmail.com>