fim main class