Added minimal database features; removed libraries. NOTE: most files have been modified due to plataforms EOLs difference.