Updated database class with Select function and update insert function
to include fields as LinkedHashMap holding [Field, Value]