Added isFirstConnect() method. Added unit test.
Updated file names for consistency.