move some code to separate function
move field plotting to separate function
add application properties
change properties loading