Factory patterns was organazied.