module class update

changed ID to number
changed condition to status
added type
changed constructor