Edited file names
Changed class name from LinkState to linkstate