added interface playercontroller and some javadoc