Started to implement database