created VideoEncoder.java. This will contain our main() function.
Commented out main function in Panel.java, as we can only have one.