- Remove magic numbers (in form of a string)
- Change scanStatus to scanInProgress for improved readability
- Code syntax
- Return booleans instead of Yes, no or 1, 0
- Make use of explode instead of preg_split for perfomance reasons
- Remove "Plugin" from classnames. They're services, which is already in the name
- Make use of === instead of == were appropiate