fixed redundant throws
refactored double code to a superclass
refactored double code to a superclass (in api commands)
added chargingstation move event/command
added license header