implemented FNCall and FNPattern
Added comments and FNClass