Move function declarations to top
Formatting, putdataset
Put dataset implemented, cannot get strings to work at all.
Fixing whitespace