Database layer abstraction and prototype visual upgrade