Attempting to redefine object

I am attempting to run my watch face view file, but the watch face app.mc file say: ERROR: vivoactive4s: /Users/[myusername]/Desktop/Visual Studio Code/TessyWatchFace/source/TessyWatchFaceApp.mc:5: Attempting to redefine object TessyWatchFace.

this is the code:

import Toybox.Application;
import Toybox.Lang;
import Toybox.WatchUi;

class TessyWatchFace extends Application.AppBase {

    function initialize() {
        AppBase.initialize();
    }

    // onStart() is called on application start up
    function onStart(state as Dictionary?) as Void {
    }

    // onStop() is called when your application is exiting
    function onStop(state as Dictionary?) as Void {
    }

    // Return the initial view of your application here
    function getInitialView() as Array<Views or InputDelegates>? {
        return [ new TessyWatchFace() ] as Array<Views or InputDelegates>;
    }

}

function getApp() as TessyWatchFace {
    return Application.getApp() as TessyWatchFace;
}

and this is the generated code created when I started the project. The line with the error is the "class TessyWatchFace extends Application.AppBase {"

Does anyone know what needs to be done?