abstracted uploading, change Constants.java to C.java, got upload after
record working