Covered Issue #1 . 

Added functionality to set primary fields of the database